DevForce Help Reference
DataEntityProperty<TInstance,TValue> Constructor


The entity property name
Whether this property can accept null values
Whether this property is a primary key property
Whether this property is a concurrency column and the strategy to use
Whether this property is autoincrementing
Name of any related navigation property.
Whether this property is a native property (default=true)
Whether this property is computed by the data store
Creates an instance of this class.
Syntax
'Declaration
 
Public Function New( _
   ByVal propertyName As String, _
   ByVal isNullable As Boolean, _
   ByVal isPartOfKey As Boolean, _
   ByVal concurrencyStrategy As ConcurrencyStrategy, _
   ByVal isAutoIncrementing As Boolean, _
   ByVal relatedNavigationPropertyName As String, _
   Optional ByVal isNativeProperty As Boolean, _
   Optional ByVal isComputed As Boolean _
)
'Usage
 
Dim propertyName As String
Dim isNullable As Boolean
Dim isPartOfKey As Boolean
Dim concurrencyStrategy As ConcurrencyStrategy
Dim isAutoIncrementing As Boolean
Dim relatedNavigationPropertyName As String
Dim isNativeProperty As Boolean
Dim isComputed As Boolean
 
Dim instance As New DataEntityProperty(Of TInstance,TValue)(propertyName, isNullable, isPartOfKey, concurrencyStrategy, isAutoIncrementing, relatedNavigationPropertyName, isNativeProperty, isComputed)

Parameters

propertyName
The entity property name
isNullable
Whether this property can accept null values
isPartOfKey
Whether this property is a primary key property
concurrencyStrategy
Whether this property is a concurrency column and the strategy to use
isAutoIncrementing
Whether this property is autoincrementing
relatedNavigationPropertyName
Name of any related navigation property.
isNativeProperty
Whether this property is a native property (default=true)
isComputed
Whether this property is computed by the data store
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataEntityProperty<TInstance,TValue> Class
DataEntityProperty<TInstance,TValue> Members

Send Feedback